package com.eascs.loan.vo;

import java.math.BigDecimal;
import java.util.Date;

import javax.validation.constraints.NotNull;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @ClassName: O2oRepaymentRecordVo.java
 * @Description:
 * 				<p>
 *               </p>
 * @author CXW
 * @date 2016年8月29日 下午6:18:54
 * @version V1.0
 */
@XmlRootElement
public class O2oRepaymentRecordVo {

	private String loanapplyNo;

	private String referId;
	
	private String paymentsId;

	private String id;

	@NotNull(message = "贷款单号不能为空")
	private String billCode;
	/**
	 * 借款人姓名
	 */
	private String userName;
	/**
	 * 期数
	 */
	private int periods;
	/**
	 * 应还本金
	 */
	private String payPrincipal;
	/**
	 * 应还利息
	 */
	private String payInterest;
	/**
	 * 未还本金
	 */
	private String weiPayPrincipal;
	/**
	 * 未还利息
	 */
	private String weiPayInterest;
	/**
	 * 本次还本金
	 */
	private BigDecimal huanPayPrincipal;
	/**
	 * 本次还利息
	 */
	private BigDecimal huanPayInterest;
	/**
	 * 罚息
	 */
	private BigDecimal repaymentPenalty;
	/**
	 * 实际还款时间
	 */
	private Date actualRepaymentDate;
	
	/**
	 * 
	 */
	private String nodeAuditorId;
	
	private  String type;
	
	private String approvalStatus;//流程状态 已办：FINISH代办：UNDO已发起：PRORCESSING
	
	/**
	 * 节点编码
	 */
	private String nodeCode;
	

	public String getNodeCode() {
		return nodeCode;
	}

	public void setNodeCode(String nodeCode) {
		this.nodeCode = nodeCode;
	}

	public String getLoanapplyNo() {
		return loanapplyNo;
	}

	public void setLoanapplyNo(String loanapplyNo) {
		this.loanapplyNo = loanapplyNo;
	}

	public String getReferId() {
		return referId;
	}

	public void setReferId(String referId) {
		this.referId = referId;
	}

	public String getPaymentsId() {
		return paymentsId;
	}

	public void setPaymentsId(String paymentsId) {
		this.paymentsId = paymentsId;
	}

	public String getBillCode() {
		return billCode;
	}

	public void setBillCode(String billCode) {
		this.billCode = billCode;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public int getPeriods() {
		return periods;
	}

	public void setPeriods(int periods) {
		this.periods = periods;
	}

	public String getPayPrincipal() {
		return payPrincipal;
	}

	public void setPayPrincipal(String payPrincipal) {
		this.payPrincipal = payPrincipal;
	}

	public String getPayInterest() {
		return payInterest;
	}

	public void setPayInterest(String payInterest) {
		this.payInterest = payInterest;
	}

	public String getWeiPayPrincipal() {
		return weiPayPrincipal;
	}

	public void setWeiPayPrincipal(String weiPayPrincipal) {
		this.weiPayPrincipal = weiPayPrincipal;
	}

	public String getWeiPayInterest() {
		return weiPayInterest;
	}

	public void setWeiPayInterest(String weiPayInterest) {
		this.weiPayInterest = weiPayInterest;
	}

	public BigDecimal getHuanPayPrincipal() {
		return huanPayPrincipal;
	}

	public void setHuanPayPrincipal(BigDecimal huanPayPrincipal) {
		this.huanPayPrincipal = huanPayPrincipal;
	}

	public BigDecimal getHuanPayInterest() {
		return huanPayInterest;
	}

	public void setHuanPayInterest(BigDecimal huanPayInterest) {
		this.huanPayInterest = huanPayInterest;
	}

	public BigDecimal getRepaymentPenalty() {
		return repaymentPenalty;
	}

	public void setRepaymentPenalty(BigDecimal repaymentPenalty) {
		this.repaymentPenalty = repaymentPenalty;
	}

	public Date getActualRepaymentDate() {
		return actualRepaymentDate;
	}

	public void setActualRepaymentDate(Date actualRepaymentDate) {
		this.actualRepaymentDate = actualRepaymentDate;
	}

	public String getNodeAuditorId() {
		return nodeAuditorId;
	}

	public void setNodeAuditorId(String nodeAuditorId) {
		this.nodeAuditorId = nodeAuditorId;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getApprovalStatus() {
		return approvalStatus;
	}

	public void setApprovalStatus(String approvalStatus) {
		this.approvalStatus = approvalStatus;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}
}
